package com.dq.Week3.day11;

import java.util.Map;
import java.util.Properties;

public class SystemDemo02 {
    public static void main(String[] args) {
        Properties properties = System.getProperties();
        System.out.println(properties);

        properties.forEach((k,v)->{
            System.out.println(k+"="+v);
        });

        Map<String,String> map = System.getenv();

        map.forEach((k,v)->{
            System.out.println(k+"="+v);
        });

    }
}
